package tables

import (
	"time"
)

type GroupOpen struct {
	Id         int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	UserId     int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	GoodsId    int       `xorm:"" json:"goods_id" form:"goods_id" mapstructure:"goods_id"`
	Nickname   string    `xorm:"" json:"nickname" form:"nickname" mapstructure:"nickname"`
	Avatar     string    `xorm:"" json:"avatar" form:"avatar" mapstructure:"avatar"`
	GroupCount int       `xorm:"" json:"group_count" form:"group_count" mapstructure:"group_count"`
	Weight     int       `xorm:"" json:"weight" form:"weight" mapstructure:"weight"`
	CreatedAt  time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt  time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt  time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	GoodsTitle string    `xorm:"" json:"goods_title" form:"goods_title" mapstructure:"goods_title"`
	GoodsPhoto string    `xorm:"" json:"goods_photo" form:"goods_photo" mapstructure:"goods_photo"`
	SubMchId   string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
}
